extends StateBase


var title_level: TitleLevel


func on_enter(owner = null, params = null):
	title_level = owner as TitleLevel
	
	title_level.ui_about.animation_player.play("show")
	AudioManager.play_sound("sfx_paper_page_flip")
	

func on_exit(owner = null):
	pass


func on_process(delta: float, owner = null):
	if not title_level.ui_about.animation_player.is_playing():
		title_level.process_exit_about()
	
	
func on_physics_process(delta: float, owner = null):
	pass
